package com.hdsx.jxcsxm.shares.server;

import com.hdsx.jxcsxm.funds.bean.FundBean;
import com.hdsx.jxcsxm.shares.bean.JhxdwhBean;
import com.hdsx.jxcsxm.shares.bean.ShareBean;
import com.hdsx.jxcsxm.zjdw.bean.XmZjdw;

import java.util.List;
import java.util.Map;

/**
 * @author 占贤银
 * time 2024/2/26 10:18
 * description 只会成就更好的自己
 */
public interface ShareServer {

    List<ShareBean> queryXmlist(ShareBean shareBean);

    int queryXmlistCount(ShareBean shareBean);

    ShareBean getTjAll(ShareBean shareBean);

    List<JhxdwhBean> getSharejhxdwh(ShareBean shareBean);

    ShareBean getdwTj(ShareBean shareBean);

    ShareBean getbfTj(ShareBean shareBean);

    List<JhxdwhBean> getWhTreeByNameShNew(ShareBean shareBean);

    XmZjdw queryShqxByOne(XmZjdw xm);

    int insertShqx(List<XmZjdw> save);

    int updateShqx(List<XmZjdw> update);

    ShareBean getJhxdZjById(ShareBean shareBean);

    ShareBean getzjdwById(ShareBean shareBean);

    List<ShareBean> queryChildGydw(ShareBean shareBean);

    List<XmZjdw> queryXmlistshqx(ShareBean shareBean);

    int queryXmlistshqxCount(ShareBean shareBean);

    List<XmZjdw> queryzjxdlist(ShareBean shareBean);

    int queryzjxdlistCount(ShareBean shareBean);

    FundBean getxmInfo(ShareBean shareBean);

    ShareBean queryshareFundByXmbm(XmZjdw xm);

    int insertXmjbxxShareFund(XmZjdw xm);

    List<ShareBean> queryJhXmlist(ShareBean shareBean);

    int queryJhXmlistCount(ShareBean shareBean);

    ShareBean getJhTjAll(ShareBean shareBean);

    boolean addSharefundData(ShareBean shareBean);

    List<ShareBean> queryMarketXzqh(ShareBean shareBean);

    int queryShareFundByXzqh(ShareBean shareBean);

    boolean importSharefund(List<Map> data);

    List<ShareBean> queryDepartment(ShareBean bean);

    int queryZjdwCountByXmbm(ShareBean shareBean);

    boolean delSharefundXm(ShareBean shareBean);

    ShareBean getdwByWhbj(ShareBean shareBean);
}
